wccbef\classes\repositories\Coupon D

Total Complexity 126
Dependencies 15
Dependents 5
Total lines 506
Lines of code 442
Logical lines of code 261
Comment lines 0
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
set_value_with_operator()
C
35 31 78
field_update()
A
44 13 43
import_from_csv()
A
46 11 39
duplicate()
A
48 11 31
get_coupons_list()
A
41 9 50
coupon_to_array()
A
46 8 34
get_coupon_counts_group_by_status()
S
55 7 18
get_selected_products()
S
54 6 20
update()
S
60 5 14
get_taxonomies()
S
57 4 16
generate_coupon_code()
S
62 3 11
get_selected_categories()
S
66 3 8
get_coupon_setter_methods()
S
52 1 25
custom_field_update()
S
68 2 6
get_status_color()
S
74 2 4
get_coupon_as_post()
S
74 2 4
get_coupon()
S
79 1 3
coupon_code_exists()
S
74 1 4
create()
S
68 1 7
get_except_columns_for_export()
S
82 1 3
get_order_ids_by_coupon()
S
69 1 6
get_coupons()
S
76 1 4
get_coupon_statuses()
S
72 1 5
get_status_colors()
S
66 1 9